cmake_minimum_required (VERSION 3.16)
project (agent C CXX ASM)

set (BUILD_SHARED_LIBS  OFF)
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=armv7a -mfloat-abi=soft -O3")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=armv7a -mfloat-abi=soft -O3")
set (CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} -march=armv7a -mfloat-abi=soft")

include (n1build)
N1SetupBuildEnvironment()

add_subdirectory (rtl)

add_subdirectory (src)
